package mylibrary.designPattern.adapter;

public class ChasingGirl {

	public void gotoCompany(Bike ke) {
		ke.go();
	}
	
	public static void main(String[] args) {
		
		ChasingGirl girl = new ChasingGirl();
		
		girl.gotoCompany(new RedBike());
		girl.gotoCompany(new MotoAdapter(new RedMoto()));
	}
}
